package com.kevin.mapping.script.engine;

import com.alibaba.fastjson.JSONObject;

import java.io.Serializable;

public class JSONEnv implements Serializable {
    private JSONObject data;

    public JSONEnv() {
        this.data = new JSONObject();
    }

    public JSONEnv(JSONObject data) {
        this.data = data;
    }

    public JSONObject getData() {
        return data;
    }

    public void setData(JSONObject data) {
        this.data = data;
    }

    public void set(String key, Object value) {
        data.put(key, value);
    }
}
